package com.aicai.retrofit.api;

import com.aicai.retrofit.data.IdentityVerifyRequest;
import com.aicai.retrofit.data.IdentityVerifyResult;
import com.aicai.retrofit.data.RiskResponse;
import retrofit.boot.annotation.RetrofitClient;
import retrofit.http.*;

/**
 * Created by wulg on 2019/10/21
 * description:
 */
@RetrofitClient(name = "risk-gateway" , url = "http://test-acgw.aicaigroup.com:7018")
public interface RiskGatewayApi {

    //@Headers({"Content-Encoding:gzip"})
    @POST("/risk-gateway/api/v1/proxy/identityVerify")
    RiskResponse<IdentityVerifyResult> identityVerify(
                    @Header(value="tokenId") String tokenId,
                    @Body IdentityVerifyRequest request);
}
